package com.zjlp.seproject.service;

import com.zjlp.seproject.pojo.*;

import java.util.List;

public interface SubjectService {
    List<Subject> selectAll();

    int deleteByPrimaryKey(Integer id);

    int insert(Subject record);

    SubjectDetails selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(Subject record);

    List<BrifSubject> selectBrif(Integer id);

    Integer addSubject(AddSubject addSubject);

    int click(Integer id, Integer click);

    List<SubjectDetails> getNewSubject();

    Integer allowSubject(Integer id);

    Integer setAnnex(Annex annex);

    List<String> getAnnex(Integer sid);

    SubjectDetails adminSubject(Integer id);

    Integer refuseSubject(Integer id);

    Integer deleteSubject(Integer id);

    List<Subject> personalSubject(Integer id);
}
